﻿using System;
using System.Globalization;

class DaysBetweenTwoDates
{
    static void Main()
    {
        DateTime firstDate = DateTime.ParseExact("27.02.2006", "dd.MM.yyyy", CultureInfo.InvariantCulture);
        DateTime secondDate = DateTime.ParseExact("03.03.2004", "dd.MM.yyyy", CultureInfo.InvariantCulture);

        Console.WriteLine("Distance between those dates is {0} days",(secondDate - firstDate).TotalDays);
    }
}